﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Ocean.His.MedicalInsurance
{
    [DataContract]
    public class SI1301Data
    {
        [DataMember(Name = "ver")]
        public string Ver { get; set; }

        public SI1301Data(string ver)
        {
            Ver = ver;
        }
    }

    [DataContract]
    public class SI1301InputModel
    {
        [DataMember(Name = "data")]
        public SI1301Data SI1301Data { get; set; }

        public SI1301InputModel(string ver)
        {
            SI1301Data = new SI1301Data(ver);
        }
    }

    /// <summary>
    /// 1301
    /// 西药中成药目录下载
    /// </summary>
    [DataContract]
    public class SI1301RequestModel : SIBaseRequestModel
    {
        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI1301InputModel Input { get; set; }

        public SI1301RequestModel(MedicalInsuranceOption medicalInsuranceOption, string ver) : base(medicalInsuranceOption)
        {
            Infno = "1301";
            Input = new SI1301InputModel(ver);
        }
    }

}
